package com.xinyue.dao;

import org.springframework.data.annotation.Id;

/**
 * 游戏数据对象父类，所有的数据存储类，必须继承此类
 * @Author 王广帅
 * @Date 2020/12/26 17:49
 */
public class GameEntity<ID> {
    @Id
    private ID id;

    public ID getId() {
        return id;
    }

    public void setId(ID id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "GameEntity{" +
                "id=" + id +
                '}';
    }
}
